#pragma once

#include "ScriptCompiler/ASTBuilder/ASTBuilder.h"
#include "ScriptCompiler/AST/NamespaceNode.h"
#include "ScriptCompiler/AST/AccessLevelNode.h"

class CNamespaceContentBuilder : public IASTBuilder
{
public:    
    CNamespaceContentBuilder(std::shared_ptr<CScriptFileContext> InContext,std::shared_ptr<CNamespaceNode> InNamespace);

    virtual bool ReadCurentToken() override;

protected:

    std::shared_ptr<CScriptFileContext> Context;
    std::shared_ptr<CNamespaceNode> Namespace;

    std::shared_ptr<CAccessLevelNode> NextAccessLevel;


};